package com.design.working.dto;

/**
 * 登录界面的传入数据
 * @author gavin
 * @date 2022/5/7 20:02
 */
public class LoginDTO {

    private Integer uid;

    private String password;

    private String identity;

    public LoginDTO() {
    }

    public LoginDTO(Integer uid, String password, String identity) {
        this.uid = uid;
        this.password = password;
        this.identity = identity;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    @Override
    public String toString() {
        return "LoginDTO{" +
                "uid='" + uid + '\'' +
                ", password='" + password + '\'' +
                ", identity='" + identity + '\'' +
                '}';
    }
}
